package cn.mesmile.design.flyweight;

/**
 * @author zb
 * @version 1.0
 * @date 2020/11/21 12:05
 * @description
 */
public class ConcreteWebSite extends  CloudWebSite{

    private String category;

    public ConcreteWebSite(String category) {
        this.category = category;
    }

    @Override
    public void run(Company company) {
        System.out.println(">>>>>>>>> 网址分类："+ category +"  公司："+ company.getName());
    }
}
